package com.heima.service;

import com.heima.pojo.Business;
import com.heima.pojo.Node;
import com.heima.pojo.VendingMachine;


import java.util.List;

public interface NodeService {
    List<Business> selectBusinessList();

    boolean insertNode(Node node);

    List<VendingMachine> selectBigList(String nodeId);

    Boolean updateNode(String nodeId, Node node);

    Boolean deleteNode(String nodeId);
}
